<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>11.可变参数</title>
</head>
<body>
    <script>
        // arguments 数组  封装实际参数
        function fun(a,B) {
            console.log(arguments);

        }

       fun(1,2,3,4,5)
     </script>
    
</body>
</html>